package cn.cdeden.knowledge.domain.dto;

import cn.cdeden.common.mybatis.validator.Query;
//import com.cdyd.ecm.annotation.Query;
//import io.swagger.annotations.ApiModelProperty;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

//import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @ProjectName : ecm_svn02
 * @Package : com.cdyd.ecm.tools.service.dto
 * @ClassName : FileDownloadRecordQueryParam
 * @Author : Yu.
 * @Description : // TODO
 * @Date : 2023/11/14 11:29
 * @Version : 1.0
 */
@Data
public class FileDownloadRecordQueryParam {

//    @ApiModelProperty(value = "存储的文件编号")
    @Query
//    @NotNull(message = "缺少必要的参数规则,存储的文件编号")
    private String storageId;

//    @ApiModelProperty(value = "文件编号")
    @Query
    @NotNull(message = "缺少必要的参数规则,文件编号")
    private String fileId;

////    @ApiModelProperty(value = "文件类型")
//    @Query
//    private String fileType;

//    @ApiModelProperty(value = "库的类型")
    @Query
    @NotNull(message = "缺少必要的参数规则,库的类型")
    private String sourceFile;



    @Query(type = Query.Type.ASC)
    private List<String> sortAsc;

    @Query(type = Query.Type.DESC)
    private List<String> sortDesc;




}
